package com.zf.apartment.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zf.common.annotation.Excel;
import com.zf.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 属性管理对象 property
 *
 * @author yingzi
 * @date 2024-09-27
 */
@TableName(resultMap = "com.zf.apartment.mapper.PropertyMapper.PropertyResult")
public class Property extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 属性ID
     */
    @TableId(value = "property_id", type = IdType.AUTO)
    private Long propertyId;

    /**
     * 属性类型
     */
    @Excel(name = "属性类型")
    private String propertyType;

    /**
     * 属性名称
     */
    @Excel(name = "属性名称")
    private String propertyName;

    /**
     * 属性状态
     */
    @Excel(name = "属性状态")
    private String propertyStatus;

    public void setPropertyId(Long propertyId) {
        this.propertyId = propertyId;
    }

    public Long getPropertyId() {
        return propertyId;
    }

    public void setPropertyType(String propertyType) {
        this.propertyType = propertyType;
    }

    public String getPropertyType() {
        return propertyType;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyStatus(String propertyStatus) {
        this.propertyStatus = propertyStatus;
    }

    public String getPropertyStatus() {
        return propertyStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("propertyId", getPropertyId())
                .append("propertyType", getPropertyType())
                .append("propertyName", getPropertyName())
                .append("propertyStatus", getPropertyStatus())
                .toString();
    }
}